/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import java.util.ArrayList;
import java.util.Date;

import model.TrafficPoint;


/**
 *
 * @author RodriguesMoises
 */
public class ClientMain {
    public static void main(String[] args)
    {
//    	ArrayList<TrafficPoint> trafficPoints = WebClientInterface.getAllTrafficPoints();
//    	for (TrafficPoint trafficPoint : trafficPoints) {
//			System.out.println(trafficPoint);
//		}
    	
//    	TrafficPoint trafficPoint = new TrafficPoint();
//    	trafficPoint.setLatitude(23);
//    	trafficPoint.setLongitude(54);
//    	ArrayList<Long> a = new ArrayList<Long>();
//    	a.add(23L);
//    	trafficPoint.setUsers(a);
//    	ArrayList<String> strings = new ArrayList<String>();
//    	strings.add("Batida na 13 de maio");
//    	trafficPoint.setDescriptions(strings);
//    	trafficPoint.setTime(new Date());
    	
    	
    	TrafficPoint trafficPoint = WebClientInterface.readTrafficPoint(7);
    	System.out.println(trafficPoint);
    }
}
